package com.k.demo.config;

import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

//@Configuration
public class StaticResConfig implements WebMvcConfigurer{

	@Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
    	
		registry.addResourceHandler("/res/**").addResourceLocations("classpath:/static/","file:d:/abc/");
           
    }
}
